package com.fdbs.util;

import java.io.Serializable;
/**
 * 封装的文件实体类
 */
public class FileUtils  implements Serializable {
    private String filename;
    private String ext;
    private byte[] content;
    private String author;

    public FileUtils(String filename, String ext, byte[] content) {
        this.filename = filename;
        this.ext = ext;
        this.content = content;
    }

    public FileUtils(byte[] content) {
        this.content = content;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
